import request from '@/utils/request2'
// 查询首页列表详细
export function getHomeTable(query) {
  return request({
    url: '/dataUpload/getUploadList',
    method: 'post',
    data: query,
  })
}
export function getHomeList() {
  return request({
    url: '/dataUpload/getUploadInfo',
    method: 'post',
  })
}
export function getstepList(query) {
  return request({
    url: '/dataUpload/getDataTreatingListPage',
    method: 'post',
    data: query,
  })
}
export function getstepTreatingList(query) {
  return request({
    url: '/dataUpload/getDataTreatingList',
    method: 'post',
    data: query,
  })
}
export function getstepUploadList(query) {
  return request({
    url: '/dataUpload/fileUpload',
    method: 'post',
    data: query,
  })
}
export function getNormList(query) {
  return request({
    url: '/dataUpload/getNormList',
    method: 'post',
    data: query,
  })
}
export function getbtnList(query) {
  return request({
    url: '/dataUpload/insertUploadData',
    method: 'post',
    data: query,
  })
}
export function insertUploadDataById(query) {
  return request({
    url: '/dataUpload/insertUploadDataById ',
    method: 'post',
    data: query,
  })
}

export function getInsertInfoList(query) {
  return request({
    url: '/dataUpload/getInsertInfoList',
    method: 'post',
    data: query,
  })
}
export function updateInsertInfoIsActive(query) {
  return request({
    url: '/dataUpload/updateInsertInfoIsActive',
    method: 'post',
    data: query,
  })
}
export function updateInsertInfoIsDelete(query) {
  return request({
    url: '/dataUpload/updateInsertInfoIsDelete',
    method: 'post',
    data: query,
  })
}
export function queryInsertDataById(query) {
  return request({
    url: '/dataUpload/queryInsertDataById',
    method: 'post',
    data: query,
  })
}
export function saveUploadDataInfoById(query) {
  return request({
    url: '/dataUpload/saveUploadDataInfoById',
    method: 'post',
    data: query,
  })
}
export function saveUploadDataInfo(query) {
  return request({
    url: '/dataUpload/saveUploadDataInfo',
    method: 'post',
    data: query,
  })
}
export function zipDownload(query) {
  return request({
    url: '/dataUpload/zipDownload',
    method: 'get',
    params: query,
    responseType: "blob"
  })
}
